package cn.anecansaitin.inet;

import net.minecraft.network.chat.Component;

public class TranslateHelper {
    public static String getText(String translationKey) {
        return Component.translatable(translationKey).getString();
    }

    public static String getText(String translationKey, Object argument) {
        return Component.translatable(translationKey, argument).getString();
    }
}
